//
//  WQVideoEditCommand.h
//  VideoDemo
//
//  Created by C on 2019/8/20.
//  Copyright © 2019 c. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

NS_ASSUME_NONNULL_BEGIN

extern NSString* const AVSEEditCommandCompletionNotification;
extern NSString* const AVSEExportCommandCompletionNotification;

@interface WQVideoEditCommand : NSObject

/// 视频组合器对象
@property (nonatomic, strong) AVMutableComposition *mutableComposition;
/// 可以用来对视频进行操作
@property (nonatomic, strong) AVMutableVideoComposition *mutableVideoComposition;
///// 给视频添加音频的
@property (nonatomic, strong) AVMutableAudioMix *mutableAudioMix;

- (id)initWithComposition:(AVMutableComposition*)composition videoComposition:(AVMutableVideoComposition*)videoComposition;

- (id)initWithComposition:(AVMutableComposition*)composition videoComposition:(AVMutableVideoComposition*)videoComposition audioMix:(AVMutableAudioMix*)audioMix;

- (void)performWithAsset:(AVAsset*)asset;

@end

NS_ASSUME_NONNULL_END
